package com.security;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/5/12 9:45
 * @since JDK 1.8
 *
 * 会话数据存储
 */
@Component
public class SecurityMap {

    @Bean("securityobj")
    public Map<String, Object> stringObjectMap(){
        return new HashMap<>(100);
    }
}
